package test.dummies;

import bluej.debugger.gentype.JavaType;
import bluej.debugger.jdi.JdiField;

public class JdiFieldDummy extends JdiField {

	public JdiFieldDummy(String name, JdiObjectDummy obj, String valueString,
			int modifiers, boolean hidden) {
		super(null, obj, hidden);
		this.name = name;
		this.obj = obj;
		this.valueString = valueString;
		this.modifiers = modifiers;
	}

	public String getName() {
		return name;
	}

	private String name;

	public JdiObjectDummy getValueObjec(JavaType expectedType) {
		return obj;
	}

	private JdiObjectDummy obj;

	public String getValueString() {
		return valueString;
	}

	private String valueString;

	public int getModifiers() {
		return modifiers;
	}

	private int modifiers;
}
